package com.sgb.kjwl.view.ui.adapter;

import androidx.annotation.Nullable;
import androidx.databinding.DataBindingUtil;
import androidx.databinding.ViewDataBinding;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.sgb.kjwl.R;
import com.swgk.core.view.entity.MenuEntity;
import com.sgb.merchant.BR;

import java.util.List;

public class TeamPublishAdapter extends BaseQuickAdapter<MenuEntity, BaseViewHolder> {


    public TeamPublishAdapter(@Nullable @org.jetbrains.annotations.Nullable List<MenuEntity> data) {
        super(R.layout.item_menu_ep_new,data);
    }

    @Override
    protected void convert(BaseViewHolder helper, MenuEntity item) {
        ViewDataBinding binding = DataBindingUtil.bind(helper.itemView);
        binding.setVariable(BR.viewModel, item);
    }
}
